import instance from '@/request/request'

export const uploadPhotoApi=(data)=> {
  return instance({
    url: "/api/common/upload",
    method: 'post',
    data
  })
}
export const downloadPhoto=(fileName)=> {
  return instance({
    url: "/api/common/upload",
    method: 'post',
    params:{fileName}
  })
}
